package com.twu.biblioteca;

public class BookStatus {
        private int noOfBook;
        private Book book;

    public BookStatus(Book book,int noOfCopies) {
            this.noOfBook = noOfCopies;
            this.book = book;
        }

    public int getNoOfBook() {
        return noOfBook;
    }

    public Book getBook() {
        return book;
    }

    public void checkOutBook() {
        this.noOfBook-=1;
    }

    public void returnBook() {
        this.noOfBook+=1;
    }
}

